package com.ktgj.flight.service;

import java.util.List;

import com.ktgj.customer.api.domain.Employee;
import com.ktgj.flight.domain.FlightSalespolicy;

import javax.servlet.http.HttpServletResponse;

/**
 * 机票销售政策维护Service接口
 * 
 * @author ruoyi
 * @date 2022-06-06
 */
public interface IFlightSalespolicyService 
{
    /**
     * 查询机票销售政策维护
     * 
     * @param policyId 机票销售政策维护ID
     * @return 机票销售政策维护
     */
    public FlightSalespolicy selectFlightSalespolicyById(Long policyId);

    /**
     * 查询机票销售政策维护列表
     * 
     * @param flightSalespolicy 机票销售政策维护
     * @return 机票销售政策维护集合
     */
    public List<FlightSalespolicy> selectFlightSalespolicyList(FlightSalespolicy flightSalespolicy);

    /**
     * 新增机票销售政策维护
     * 
     * @param flightSalespolicy 机票销售政策维护
     * @return 结果
     */
    public int insertFlightSalespolicy(Employee employee, FlightSalespolicy flightSalespolicy) throws Exception;

    /**
     * 修改机票销售政策维护
     * 
     * @param flightSalespolicy 机票销售政策维护
     * @return 结果
     */
    public int updateFlightSalespolicy(Employee employee, FlightSalespolicy flightSalespolicy);

    /**
     * 批量删除机票销售政策维护
     * 
     * @param policyIds 需要删除的机票销售政策维护ID
     * @return 结果
     */
    public int deleteFlightSalespolicyByIds(Long[] policyIds);

    /**
     * 删除机票销售政策维护信息
     * 
     * @param policyId 机票销售政策维护ID
     * @return 结果
     */
    public int deleteFlightSalespolicyById(Long policyId);

    public int delete(Long policyId);
}
